        if (!nameJson) {
            return "";
        }
        //随机选择一个姓
        var surLengh = nameJson.surnames.length;
        var surName = nameJson.surnames[Math.randomInt(0, surLengh - 1)];

        //确定女名还是男名
        var names = nameJson.male;
        if (Math.randomInt(1, 10) <= 5) {
            names = nameJson.female;
        }
        //确定名的数量
        var nameNumbers = Math.randomInt(1, 2);
        //随机选名
        var nameLength = names.length;
        var name = "";
        for (var index = 0; index < nameNumbers; index++) {
            name += names[Math.randomInt(0, nameLength - 1)]
        }
        return surName + name;